//
//  UIButton+addPro.m
//  wfdyy
//
//  Created by  程 强 on 16/3/3.
//  Copyright © 2016年 demon. All rights reserved.
//

#import "UIButton+addPro.h"

@implementation UIButton (addPro)
@dynamic otherContent;

- (NSString *)otherContent
{
    NSString *otherContent = objc_getAssociatedObject(self, @"kUIButtonIdxKey");
    return otherContent;
}

- (void)setOtherContent:(NSString *)otherContent
{
    objc_setAssociatedObject(self, @"kUIButtonIdxKey", otherContent, OBJC_ASSOCIATION_RETAIN);
}

- (NSString *)startTime{
    
    NSString *otherContent = objc_getAssociatedObject(self, @"kUIButtonstarttimeKey");
    return otherContent;
}

- (void)setStartTime:(NSString *)startTime{
    objc_setAssociatedObject(self, @"kUIButtonstarttimeKey", startTime, OBJC_ASSOCIATION_RETAIN);
}

- (NSString *)endTime{
    
    NSString *otherContent = objc_getAssociatedObject(self, @"kUIButtonendtimeKey");
    return otherContent;
}
- (void)setEndTime:(NSString *)endTime{
    objc_setAssociatedObject(self, @"kUIButtonendtimeKey", endTime, OBJC_ASSOCIATION_RETAIN);

}
- (NSString *)level{
    
    NSString *otherContent = objc_getAssociatedObject(self, @"kUIButtonendtimeKeylevel");
    return otherContent;
}
- (void)setLevel:(NSString *)level{
    objc_setAssociatedObject(self, @"kUIButtonendtimeKeylevel", level, OBJC_ASSOCIATION_RETAIN);
}
@end
